package com.ruoyi.system.domain.aid;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物资申请者对象 aid_applicant
 */
public class AidApplicant extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 申请者ID */
    private Long applicantId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 申请者类型（1个人 2组织） */
    @Excel(name = "申请者类型", readConverterExp = "1=个人,2=组织")
    private String applicantType;

    /** 申请者名称 */
    @Excel(name = "申请者名称")
    private String applicantName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 所属组织 */
    @Excel(name = "所属组织")
    private String organization;

    /** 所在地区 */
    @Excel(name = "所在地区")
    private String region;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setApplicantId(Long applicantId) {
        this.applicantId = applicantId;
    }

    public Long getApplicantId() {
        return applicantId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setApplicantType(String applicantType) {
        this.applicantType = applicantType;
    }

    public String getApplicantType() {
        return applicantType;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getOrganization() {
        return organization;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRegion() {
        return region;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("applicantId", getApplicantId())
            .append("userId", getUserId())
            .append("applicantType", getApplicantType())
            .append("applicantName", getApplicantName())
            .append("contactPhone", getContactPhone())
            .append("organization", getOrganization())
            .append("region", getRegion())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 